<?php

declare(strict_types=1);

namespace App\CustHub\Dto;

class RefundDto
{
    /**
     * 支付方式
     * @var int
     */
    private int $payWay;

    private string $out_trade_no;

    private string $out_refund_no;

    private float $refund_amount;

    private float $total_amount;

    /**
     * 支付回调通知地址
     * @var string
     */
    private string $notifyUrl;

    public function getPayWay(): int
    {
        return $this->payWay;
    }

    public function setPayWay(int $payWay): RefundDto
    {
        $this->payWay = $payWay;
        return $this;
    }

    public function getOutTradeNo(): string
    {
        return $this->out_trade_no;
    }

    public function setOutTradeNo(string $out_trade_no): RefundDto
    {
        $this->out_trade_no = $out_trade_no;
        return $this;
    }

    public function getOutRefundNo(): string
    {
        return $this->out_refund_no;
    }

    public function setOutRefundNo(string $out_refund_no): RefundDto
    {
        $this->out_refund_no = $out_refund_no;
        return $this;
    }

    public function getRefundAmount(): float
    {
        return $this->refund_amount;
    }

    public function setRefundAmount(float $refund_amount): RefundDto
    {
        $this->refund_amount = $refund_amount;
        return $this;
    }

    public function getTotalAmount(): float
    {
        return $this->total_amount;
    }

    public function setTotalAmount(float $total_amount): RefundDto
    {
        $this->total_amount = $total_amount;
        return $this;
    }

    public function getNotifyUrl(): string
    {
        return $this->notifyUrl;
    }

    public function setNotifyUrl(string $notifyUrl): RefundDto
    {
        $this->notifyUrl = $notifyUrl;
        return $this;
    }

}